/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2018-11-06     SummerGift   first version
 */

#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>

#define DBG_ENABLE
#define DBG_SECTION_NAME              "main"
#define DBG_LEVEL                     DBG_LOG
#define DBG_COLOR

#include <rtdbg.h>

#include "luat_base.h"

int main(void)
{
    rt_thread_mdelay(100); // 故意延后100ms
	luat_log_set_uart_port(1);
    luat_main();
    while (1)
    {
        rt_thread_delay(10000000);
    }
}
